package org.jeecg.common.modules.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: doctor_register_account
 * @Author: jeecg-boot
 * @Date:   2020-12-23
 * @Version: V1.0
 */
@Data
@TableName("doctor_register_account")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor_register_account对象", description="doctor_register_account")
public class DoctorRegisterAccount implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**挂号单id*/
    @Excel(name = "挂号单id", width = 15)
    @ApiModelProperty(value = "挂号单id")
    private String doctorRegisterRecordId;
    /**医院id*/
    @Excel(name = "医院id", width = 15)
    @ApiModelProperty(value = "医院id")
    private String registerHospitalId;
    /**医生id*/
    @Excel(name = "医生id", width = 15)
    @ApiModelProperty(value = "医生id")
    private String doctorId;
    /**渠道收益*/
    @Excel(name = "渠道收益", width = 15)
    @ApiModelProperty(value = "渠道收益")
    private BigDecimal hospitalAccount;
    /**医生收益*/
    @Excel(name = "医生收益", width = 15)
    @ApiModelProperty(value = "医生收益")
    private BigDecimal doctorAccount;

    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
